import type { RouteRecordRaw, RouteMeta } from "vue-router"

// @ts-ignore
export interface AppRouteRecordRaw extends Omit<RouteRecordRaw, "meta"> {
  name?: string
  code?: string
  hidden?: boolean
  children?: AppRouteRecordRaw[]
  alwaysShow?: boolean
  meta?: RouteMeta
}

export type AppRouteModule = AppRouteRecordRaw
